object frKLASSIFIK: TfrKLASSIFIK
  Left = 0
  Top = 0
  BorderStyle = bsDialog
  Caption = #1050#1083#1072#1089#1089#1080#1092#1080#1082#1072#1090#1086#1088
  ClientHeight = 460
  ClientWidth = 711
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  KeyPreview = True
  OldCreateOrder = False
  Position = poMainFormCenter
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object pUPR: TPanel
    Left = 0
    Top = 0
    Width = 230
    Height = 460
    Align = alLeft
    BorderStyle = bsSingle
    TabOrder = 0
    object dlbNAIM_KLSF: TDBLookupListBox
      Left = 1
      Top = 1
      Width = 224
      Height = 452
      Align = alClient
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = 'Tahoma'
      Font.Style = []
      KeyField = 'KOD'
      ListField = 'NAIM'
      ListSource = dsSPISOK_KLSF
      ParentFont = False
      TabOrder = 0
      OnClick = dlbNAIM_KLSFClick
      ExplicitLeft = -3
      ExplicitTop = 0
      ExplicitHeight = 438
    end
  end
  object pTable: TPanel
    Left = 223
    Top = 0
    Width = 486
    Height = 336
    TabOrder = 1
    object gbTable: TcxGroupBox
      AlignWithMargins = True
      Left = 4
      Top = 4
      Align = alClient
      TabOrder = 0
      Height = 328
      Width = 478
      object sgKLASIF: TDBGrid
        AlignWithMargins = True
        Left = 5
        Top = 21
        Width = 468
        Height = 302
        Align = alClient
        DataSource = dsKLASIF
        Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
        ReadOnly = True
        TabOrder = 0
        TitleFont.Charset = DEFAULT_CHARSET
        TitleFont.Color = clWindowText
        TitleFont.Height = -11
        TitleFont.Name = 'Tahoma'
        TitleFont.Style = []
        OnDblClick = sgKLASIFDblClick
        Columns = <
          item
            Expanded = False
            FieldName = 'KOD_HC'
            Title.Caption = #1050#1086#1076
            Visible = True
          end
          item
            Expanded = False
            FieldName = 'NAIM_KOD'
            Title.Caption = #1053#1072#1080#1084#1077#1085#1086#1074#1072#1085#1080#1077
            Width = 187
            Visible = True
          end>
      end
    end
  end
  object pEdit: TPanel
    Left = 223
    Top = 335
    Width = 486
    Height = 89
    TabOrder = 2
    object gbEdit: TcxGroupBox
      AlignWithMargins = True
      Left = 4
      Top = 4
      Align = alClient
      TabOrder = 0
      Height = 81
      Width = 478
      object Label1: TLabel
        Left = 18
        Top = 18
        Width = 25
        Height = 14
        Caption = #1050#1086#1076':'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object Label2: TLabel
        Left = 18
        Top = 49
        Width = 87
        Height = 14
        Caption = #1053#1072#1080#1084#1077#1085#1086#1074#1072#1085#1080#1077':'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
    end
    object dbeKOD: TDBEdit
      Left = 122
      Top = 22
      Width = 52
      Height = 22
      DataField = 'KOD_HC'
      DataSource = dsKLASIF
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = 'Tahoma'
      Font.Style = []
      ParentFont = False
      TabOrder = 1
    end
    object dbeNAIM: TDBEdit
      Left = 122
      Top = 50
      Width = 262
      Height = 22
      DataField = 'NAIM_KOD'
      DataSource = dsKLASIF
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = 'Tahoma'
      Font.Style = []
      ParentFont = False
      TabOrder = 2
      OnKeyDown = dbeNAIMKeyDown
    end
  end
  object Panel1: TPanel
    Left = 223
    Top = 423
    Width = 486
    Height = 35
    TabOrder = 3
    object btAdd: TcxButton
      Left = 13
      Top = 6
      Width = 105
      Height = 25
      Action = Add
      TabOrder = 0
      Glyph.Data = {
        36040000424D3604000000000000360000002800000010000000100000000100
        2000000000000004000000000000000000000000000000000000000000000000
        0000000000000000000000010000000000000039000000600000006100000036
        0000000000000001000000000000000000000000000000000000000000000000
        000000000000000000000003000000000000007F000000D5000000D600000078
        0000000000000003000000000000000000000000000000000000000000000000
        000000000000000000000003000000000000007B000000D0000000D000000073
        0000000000000003000000000000000000000000000000000000000000000000
        000000000000000000000003000000000000007A000000C7000000C700000072
        0000000000000003000000000000000000000000000000000000000000000000
        0000000000000000000000020000000000000076000000BE000000BE0000006F
        0000000000000003000000000000000000000000000000000000000000000000
        0000000000000000000000030000000000000073000000B5000000B60000006C
        000000000000000300000000000000000000000000000000000000280000008D
        000000870000008B0000008C0000008C000000A3000000AC000000AD000000A1
        0000008C0000008C0000008B000000870000008C000000220000003100000091
        0000008800000093000000990000009E000000A1000000A4000000A4000000A1
        0000009E000000990000009400000089000000930000002B0000003200000095
        0000008B00000093000000970000009A0000009B0000009B0000009B0000009C
        0000009B00000097000000940000008B000000960000002C000000140000004B
        000000480000004800000049000000420000008300000092000000920000007F
        0000004200000049000000480000004800000049000000110000000000000000
        0000000000000000000000020000000000000069000000890000008A00000062
        0000000000000002000000000000000000000000000000000000000000000003
        0000000300000003000000040000000000000068000000810000008200000062
        0000000000000004000000030000000300000003000000000000000000000000
        0000000000000000000000020000000000000065000000790000007A00000060
        0000000000000002000000000000000000000000000000000000000000000000
        00000000000000000000000200000000000000630000006B0000006D0000005F
        0000000000000002000000000000000000000000000000000000000000000000
        000000000000000000000002000000000000006200000084000000850000005D
        0000000000000002000000000000000000000000000000000000000000000000
        000000000000000000000000000000000000000A000000120000001200000009
        0000000000000000000000000000000000000000000000000000}
    end
    object btEdit: TcxButton
      Left = 122
      Top = 6
      Width = 105
      Height = 25
      Action = Edit
      TabOrder = 1
      Glyph.Data = {
        36030000424D3603000000000000360000002800000010000000100000000100
        1800000000000003000000000000000000000000000000000000E3DFE0B78183
        B78183B78183B78183B78183B78183B78183B78183B78183B78183B78183B781
        83B78183E3DFE0E3DFE0E3DFE0C7A79CFEEED4F7E3C5F6DFBCF5DBB4F3D7ABF3
        D3A2F1CF9AF0CF97F0CF98F0CF98F5D49AB78183E3DFE0E3DFE0E3DFE0C7A79E
        FDEFD907103E4D3E6A483957F2D7B2F1D4A9F1D0A2EECC99EECC97EECC97F3D1
        99B78183E3DFE0E3DFE0E3DFE0C7A9A1FEF3E34A3D53554DAE4B459A484250F2
        D7B2F1D4ABF0D0A3EECC9AEECC97F3D199B78183E3DFE0E3DFE0E3DFE0C9ACA5
        FFF7EB4D4863919EE94B56BC4E56A83E4153F2D7B2F1D4AAF0D0A1EFCD99F3D1
        98B78183E3DFE0E3DFE0E3DFE0CEB2AAFFFCF4FAEFE43F467A8EA4F14B55BB51
        5AAF454B55F1D7B2F1D3AAF0D0A1F3D29BB78183E3DFE0E3DFE0E3DFE0D3B7AF
        FFFFFDFBF4ECFAEFE34A497C9B9BEE565FC74C5BAF43517FF2D7B1F0D4A9F5D5
        A3B78183E3DFE0E3DFE0E3DFE0D7BBB2FFFFFFFEF9F5FBF3ECFAEFE2544F9793
        9BEA5168C74153AA495594F2D8B2F6D9ACB78183E3DFE0E3DFE0E3DFE0DABEB3
        FFFFFFFFFEFDFDF8F4FBF3ECF9EFE3595995A2B0F15D77CC5964BB4D4F90F8DD
        B4B78183E3DFE0E3DFE0E3DFE0DEC1B5FFFFFFFFFFFFFFFEFDFEF9F4FBF3EBFA
        EFE255568EA6ABE87179CB5B68B8505991B78183E3DFE0E3DFE0E3DFE0E2C5B5
        FFFFFFFFFFFFFFFFFFFFFEFDFDF9F4FBF3EBFAEEE2685F91AEB8ED587ABC5588
        BE3083C7E3DFE0E3DFE0E3DFE0E5C7B7FFFFFFFFFFFFFFFFFFFFFFFFFFFEFDFD
        F8F3FDF6ECF1E1D5556390689AC7A0DDFF3083C73083C7E3DFE0E3DFE0E9CBB8
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFCFFFEF9E3CFC9BF8C763083C73083
        C7A4E6FF3083C7E3DFE0E3DFE0ECCDBAFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFE4D4D2C89A7FFAC5773083C73083C7E3DFE0E3DFE0E3DFE0EACAB6
        FCF7F4FCF7F3FBF6F3FBF6F3FAF5F3F9F5F3F9F5F3E1D0CEC7977CCF9B86E3DF
        E0E3DFE0E3DFE0E3DFE0E3DFE0E9C6B1EBCCB8EBCCB8EBCCB8EBCBB8EACBB8EA
        CBB8EACCB9DABBB0B8857AE3DFE0E3DFE0E3DFE0E3DFE0E3DFE0}
    end
    object btDelete: TcxButton
      Left = 231
      Top = 6
      Width = 105
      Height = 25
      Action = Delete
      TabOrder = 2
      Glyph.Data = {
        36030000424D3603000000000000360000002800000010000000100000000100
        1800000000000003000000000000000000000000000000000000E3DFE0E3DFE0
        E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DF
        E0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3
        DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE00732DE0732DEE3DFE00732DE
        0732DEE3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DF
        E00732DE0732DEE3DFE0E3DFE00732DE0732DE0732DEE3DFE0E3DFE0E3DFE0E3
        DFE0E3DFE0E3DFE0E3DFE0E3DFE00732DE0732DEE3DFE0E3DFE0E3DFE00732DE
        0732DD0732DE0732DEE3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE00732DE0732
        DEE3DFE0E3DFE0E3DFE0E3DFE0E3DFE00534ED0732DF0732DE0732DEE3DFE0E3
        DFE0E3DFE0E3DFE00732DE0732DEE3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0
        E3DFE0E3DFE00732DE0732DE0732DDE3DFE00732DD0732DE0732DEE3DFE0E3DF
        E0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE00732DD0633E606
        33E60633E90732DCE3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0
        E3DFE0E3DFE0E3DFE0E3DFE00633E30732E30534EFE3DFE0E3DFE0E3DFE0E3DF
        E0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE00732DD0534ED05
        33E90434EF0434F5E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0
        E3DFE0E3DFE00434F40534EF0533EBE3DFE0E3DFE00434F40335F8E3DFE0E3DF
        E0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE00335FC0534EF0434F8E3DFE0E3
        DFE0E3DFE0E3DFE00335FC0335FBE3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0
        0335FB0335FB0335FCE3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE00335FB0335
        FBE3DFE0E3DFE0E3DFE0E3DFE00335FB0335FB0335FBE3DFE0E3DFE0E3DFE0E3
        DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE00335FBE3DFE0E3DFE00335FB0335FB
        0335FBE3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DF
        E0E3DFE0E3DFE0E3DFE00335FB0335FBE3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3
        DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0E3DFE0}
    end
    object btSave: TcxButton
      Left = 339
      Top = 6
      Width = 105
      Height = 25
      Action = Save
      TabOrder = 3
      Glyph.Data = {
        26040000424D2604000000000000360000002800000012000000120000000100
        180000000000F0030000C40E0000C40E00000000000000000000CAD6DBCAD6DB
        CAD6DBCAD6DBCAD6DBCAD6DBCAD6DBCAD6DBCAD6DBCAD6DBCAD6DBCAD6DBCAD6
        DBCAD6DBCAD6DBCAD6DBCAD6DBCAD6DB0000CCD8DDCCD8DDCCD8DDCCD8DDCCD8
        DDCCD8DDCCD8DDCCD8DDCCD8DDCCD8DDCCD8DDCCD8DDCCD8DDCCD8DDCCD8DDCC
        D8DDCCD8DDCCD8DD0000CFDADFCFDADFCFDADFA7A7A773737373737359595959
        59594B4B4B4B4B4B3D3D3D303030303030303030A7A7A7CFDADFCFDADFCFDADF
        0000D2DCE0D2DCE0A7A7A7633600CDCDCDE6E6E6C1C1C1C1C1C1CDCDCDF0F0F0
        EDEDEDE6E6E6A7A7A7333333303030A7A7A7D2DCE0D2DCE00000D4DEE2633600
        633600633600DADADAE6E6E6E6E6E6E6E6E6E6E6E6E6E6E6E6E6E6E6E6E6DADA
        DACB8C44633600303030303030D4DEE20000D7E0E4633600CB8C44633600D9A7
        7DD9A77DD9A77DD9A77DD9A77DCB8C44CB8C44CB8C44CB8C44CB8C446336007F
        5B00303030D7E0E40000DAE2E6633600D9A77D633600D9A77DD9A77DD9A77DD9
        A77DD9A77DD9A77DCB8C44CB8C44CB8C44CB8C44633600CB8C44303030DAE2E6
        0000DCE4E7633600D9A77D633600D9A77DD9A77DD9A77DD9A77DD9A77DD9A77D
        D9A77DCB8C44CB8C44CB8C44633600CB8C443D3D3DDCE4E70000DFE6E9633600
        D9A77D633600AA3F2A6336006336006336006336006336006336006336006336
        00CB8C44633600CB8C444B4B4BDFE6E90000E1E8EB633600D9A77D6336009A9A
        9AAAFFFF99F8FF99F8FF99F8FF99F8FF99F8FF99F8FF99F8FF633600633600CB
        8C444B4B4BE1E8EB0000E4EAED633600D9A77D633600AAFFFFCDCDCDA7A7A7A7
        A7A7A7A7A7A7A7A7A7A7A7A7A7A7C1C1C199F8FF633600CB8C444B4B4BE4EAED
        0000E7ECEF633600D9A77D7F5B00AAFFFFAAFFFFAAFFFFAAFFFFAAFFFFAAFFFF
        AAFFFFAAFFFFAAFFFF99F8FF7F5B00CB8C444B4B4BE7ECEF0000E9EEF0633600
        D9A77D7F5B00AAFFFFCDCDCDA7A7A7A7A7A7A7A7A7A7A7A7A7A7A7A7A7A7C1C1
        C199F8FF7F5B00CB8C444B4B4BE9EEF00000ECF0F2633600D9A77D989898AAFF
        FFAAFFFFAAFFFFAAFFFFAAFFFFAAFFFFAAFFFFAAFFFFAAFFFF99F8FF989898CB
        8C44595959ECF0F20000EFF2F4633600D9A77DA6A6A6EFF2F4CDCDCDCB8C44CB
        8C44A7A7A7A7A7A7A7A7A7A7A7A7C1C1C199F8FFA6A6A6D9A77D666666EFF2F4
        0000F1F4F6A7A7A76336007F5B00F1F4F6F1F4F6AAFFFFAAFFFFAAFFFFAAFFFF
        AAFFFFAAFFFFAAFFFFAAFFFF7F5B00633600A7A7A7F1F4F60000F4F6F7F4F6F7
        F4F6F7A7A7A76336006336006336006336006336006336006336006336006336
        006336009A9A9AF4F6F7F4F6F7F4F6F70000F7F8F9F7F8F9F7F8F9F7F8F9F7F8
        F9F7F8F9F7F8F9F7F8F9F7F8F9F7F8F9F7F8F9F7F8F9F7F8F9F7F8F9F7F8F9F7
        F8F9F7F8F9F7F8F90000}
    end
  end
  object ActionList1: TActionList
    Left = 654
    Top = 117
    object Add: TAction
      Caption = #1044#1086#1073#1072#1074#1080#1090#1100'(F2)'
      ShortCut = 113
      OnExecute = AddExecute
    end
    object Edit: TAction
      Caption = #1048#1079#1084#1077#1085#1080#1090#1100'(F3)'
      ShortCut = 114
      OnExecute = EditExecute
    end
    object Delete: TAction
      Caption = #1059#1076#1072#1083#1080#1090#1100'(F4)'
      ShortCut = 115
      OnExecute = DeleteExecute
    end
    object Save: TAction
      Caption = #1057#1086#1093#1088#1072#1085#1080#1090#1100'(F5)'
      ShortCut = 116
      OnExecute = SaveExecute
    end
    object actESC: TAction
      Caption = 'actESC'
      ShortCut = 27
      OnExecute = actESCExecute
    end
  end
  object dsetKLASIF: TIBCQuery
    SQLInsert.Strings = (
      'INSERT INTO KLSFCT'
      '  (KOD, KOD_HC, NAIM_KOD)'
      'VALUES'
      '  (:KOD, :KOD_HC, :NAIM_KOD)')
    SQLDelete.Strings = (
      'DELETE FROM KLSFCT'
      'WHERE'
      '  KOD = :Old_KOD AND KOD_HC = :Old_KOD_HC')
    SQLUpdate.Strings = (
      'UPDATE KLSFCT'
      'SET'
      '  KOD = :KOD, KOD_HC = :KOD_HC, NAIM_KOD = :NAIM_KOD'
      'WHERE'
      '  KOD = :Old_KOD AND KOD_HC = :Old_KOD_HC')
    SQLRefresh.Strings = (
      'SELECT KOD, KOD_HC, NAIM_KOD FROM KLSFCT'
      'WHERE'
      '  KOD = :KOD AND KOD_HC = :KOD_HC')
    SQLLock.Strings = (
      'SELECT NULL FROM KLSFCT'
      'WHERE'
      'KOD = :Old_KOD AND KOD_HC = :Old_KOD_HC'
      'FOR UPDATE WITH LOCK')
    SQL.Strings = (
      'select * from KLSFCT where KOD=:KOD')
    Left = 632
    Top = 31
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'KOD'
      end>
  end
  object dsKLASIF: TIBCDataSource
    DataSet = dsetKLASIF
    Left = 664
    Top = 31
  end
  object dsetSPISOK_KLSF: TIBCQuery
    Connection = dmOne.IBDBOne
    SQL.Strings = (
      'select DISTINCT K.KOD,K.NAIM_KLASIFIK as NAIM'
      ' from KLSFCT K where K.NAIM_KLASIFIK is not null order by K.KOD')
    Left = 632
    Top = 64
  end
  object dsSPISOK_KLSF: TIBCDataSource
    DataSet = dsetSPISOK_KLSF
    Left = 664
    Top = 64
  end
end
